package com.phpxiu.app.config;

/**
 * Created by 吴金洲 on 2016/3/20.
 */
public class HttpConfig {
    public final static int REQUEST_OPERA_INIT=0x0;//请求初始化操作
    public final static int REQUEST_OPERA_REFRESH=0x1;//请求刷新
    public final static int REQUEST_OPERA_LOAD=0x2;//请求加载更多

    public final static String HOME="http://www.kukuyu.cn/";//官网



    public final static String SERVER="http://kkylive30.kukuyu.cn/";

    public final static String FILE_SERVER="http://kkylive2-10043856.file.myqcloud.com";

    public final static String SHARE_URL=SERVER+"?svc=share&cmd=index&uid=";

    public final static String GOOGLE_GEOCODING="https://maps.googleapis.com/maps/api/geocode/json?result_type=country|administrative_area_level_1|administrative_area_level_2|administrative_area_level_3&key=AIzaSyBmfZWvx5Y6Do_ZObhLfJuK4j7PW1WHaGE&latlng=";

    /**
     * 获取默认系统广播消息"http://192.168.0.88/?svc=message&cmd=index"
     */
    public final static String API_GET_SYSTEM_DEFAULT_MSG=SERVER+"?svc=message&cmd=index";
    /**
     * 快速登录/api/account/fastlogin?token=ceshi&secret=ceshi123456&type=weixin"
     */
    public final static String API_LOGIN=SERVER+"?svc=account&cmd=fastlogin";

    /**
     * 验证手机接口http://192.168.0.88/?svc=account&cmd=phonesms
     * phone=13083086982	//手机号
     */
    public final static String API_CHECK_PHONE=SERVER+"?svc=account&cmd=phonesms";

    /**
     * 主播上报房间http://192.168.0.88/?svc=live&cmd=start
     */
    public final static String POST_LIVE_INFO=SERVER+"?svc=live&cmd=start";

    /**
     * 房间酷酷鱼心跳http://192.168.0.88/?svc=live&cmd=host_heartbeat
     *
     */
    public final static String KKY_HEART_BEAT=SERVER+"?svc=live&cmd=host_heartbeat";
    /**
     * 获取房间信息http://192.168.0.88/?svc=live&cmd=get_room_info
     */
    public final static String API_GET_LIVE_INFO=SERVER+"?svc=live&cmd=get_room_info";

    /**
     * 主播上报结束http://192.168.0.88/?svc=live&cmd=end
     */
    public final static String API_LIVE_END=SERVER+"?svc=live&cmd=end";
    /**
     * 获取直播结束时的数据http://192.168.0.88/?svc=live&cmd=get_live_totalize
     */
    public final static String API_LIVE_END_INFO=SERVER+"?svc=live&cmd=get_live_totalize";
    /**
     * 手机登录接口http://192.168.0.88/?svc=account&cmd=phonelogin
     * phone=13083086982	//手机号 code=168459	//验证码
     */
    @Deprecated
    public final static String API_LOGIN_BY_PHONE=SERVER+"?svc=account&cmd=phonelogin";

    /***
     * 手机注册
     * http://kkylive30.kukuyu.cn/?svc=account&cmd=register
     */
    public final static String API_REGISTER_WITH_PASSWORD=SERVER+"?svc=account&cmd=register";

    /***
     * 重置密码接口
     * http://kkylive30.kukuyu.cn/?svc=account&cmd=reset_password
     */
    public final static String API_RESET_PASSWORD=SERVER+"?svc=account&cmd=reset_password";

    /***
     * 手机密码登录
     * http://kkylive30.kukuyu.cn/?svc=account&cmd=login_with_password
     */
    public final static String API_LOGIN_WITH_PASSWORD=SERVER+"?svc=account&cmd=login_with_password";

    /**
     * 获取礼物列表http://192.168.0.88/?svc=gift&cmd=list
     */
    public final static String API_GET_GIFT_LIST=SERVER+"?svc=gift&cmd=list";
    /**
     * 校验礼物发送操作http://192.168.0.88/?svc=gift&cmd=send
     */
    public final static String API_CHECK_GIFT_SEND=SERVER+"?svc=gift&cmd=send";
    /**
     * 用户主页信息获取http://192.168.0.88/?svc=user&cmd=get_info_by_id
     */
    public final static String API_USER_HOME=SERVER+"?svc=user&cmd=get_info_by_id";
    /**
     * 获取主播卡片信息http://192.168.0.88/?svc=user&cmd=get_info_by_id_inroom
     */
    public final static String API_GET_ROOM_HOST_CARD=SERVER+"?svc=user&cmd=get_host_info";

    /**
     * 获取房间用户卡片信息http://192.168.0.88/?svc=user&cmd=get_info_by_id_inroom
     */
    public final static String API_GET_ROOM_USER_CARD=SERVER+"?svc=user&cmd=get_info_by_id_inroom";

    /**
     * 关注用户http://192.168.0.88/?svc=user&cmd=add_follow
     */
    public final static String API_ATTENTION_USER=SERVER+"?svc=user&cmd=add_follow";

    /**
     * 取消关注用户http://192.168.0.88/?svc=user&cmd=cancel_follow
     */
    public final static String API_CANCEL_ATTENTION_USER=SERVER+"?svc=user&cmd=cancel_follow";

    /**
     * 举报用户http://192.168.0.88/?svc=user&cmd=report
     */
    public final static String API_REPORT_USER=SERVER+"?svc=user&cmd=report";

    /**
     * 设置为管理http://192.168.0.88/?svc=user&cmd=add_admin
     */
    public final static String API_SET_ADMIN=SERVER+"?svc=user&cmd=add_admin";

    /**
     * 取消管理http://192.168.0.88/?svc=user&cmd=cancel_admin
     */
    public final static String API_CANCEL_ADMIN=SERVER+"?svc=user&cmd=cancel_admin";
    /**
     * 获取管理列表http://192.168.0.88/?svc=user&cmd=admin_list
     */
    public final static String API_GET_ADMIN_LIST=SERVER+"?svc=user&cmd=admin_list";

    /**
     * 禁言用户http://192.168.0.88/?svc=user&cmd=add_mute
     */
    public final static String API_MUTE_USER=SERVER+"?svc=user&cmd=add_mute";

    /**
     * 获取排行列表http://192.168.0.88/?svc=rank&cmd=list
     */
    public final static String API_GET_FANS_RANK_LIST=SERVER+"?svc=rank&cmd=list";

    /**
     *获取用户中心数据http://192.168.0.88/?svc=user&cmd=get_my_info
     */
    public final static String API_GET_USER_CENTER_INFO=SERVER+"?svc=user&cmd=get_my_info";

    /**
     *更改用户信息http://192.168.0.88/?svc=user&cmd=update
     */
    public final static String API_UPDATE_USER_FIELD=SERVER+"?svc=user&cmd=update";

    /**
     *用户提交认证材料http://192.168.0.88/?svc=user&cmd=application
     */
    public final static String API_USER_VERIFY=SERVER+"?svc=user&cmd=application";

    /**
     * 检测认证状态
     * http://kkylive30.kukuyu.cn/?svc=user&cmd=get_status
     */
    public final static String API_USER_CHECK_VERIFY=SERVER+"?svc=user&cmd=get_status";

    /**
     *用户中心，获取用户等级信息http://192.168.0.88/?svc=user&cmd=exp
     */
    public final static String API_USER_GRAD=SERVER+"?svc=user&cmd=exp";

    /**
     * 关注列表数据http://192.168.0.88/?svc=user&cmd=follow
     */
    public final static String API_GET_USER_ATTENTION=SERVER+"?svc=user&cmd=follow";
    /**
     * 粉丝列表数据http://192.168.0.88/?svc=user&cmd=fans
     */
    public final static String API_GET_USER_FANS=SERVER+"?svc=user&cmd=fans";

    /**
     * 用户查询http://192.168.0.88/?svc=user&cmd=search
     */
    public final static String API_USER_SEARCH=SERVER+"?svc=user&cmd=search";

    /**
     * 获取兑换列表http://192.168.0.88/?svc=exchange&cmd=get_coin_list
     */
    public final static String API_EXCHANGE_LIST=SERVER+"?svc=exchange&cmd=get_coin_list";

    /**
     * 获取兑换界面信息http://kkylive30.kukuyu.cn/?svc=user&cmd=get_money_info
     */
    public final static String API_GET_EXCHANGE_INF=SERVER+"?svc=user&cmd=get_money_info";

    /**
     * 绑定微信号http://kkylive30.kukuyu.cn/?svc=wechat_redpack&cmd=bind
     */
    public final static String API_BIND_WX=SERVER+"?svc=wechat_redpack&cmd=bind";

    /**
     * 领取红包http://kkylive30.kukuyu.cn/?svc=wechat_redpack&cmd=send
     */
    public final static String API_DRAW_RED_PACKAGE=SERVER+"?svc=wechat_redpack&cmd=send";

    /**
     * 微信红包领取记录列表http://kkylive30.kukuyu.cn/?svc=exchange&cmd=get_money_log
     */
    public final static String API_GET_DRAW_RECORD_LIST=SERVER+"?svc=exchange&cmd=get_money_log";

    /**
     * 票兑换钻石http://192.168.0.88/?svc=exchange&cmd=coin
     */
    public final static String API_VOTE_EXCHANGE=SERVER+"?svc=exchange&cmd=coin";

    /**
     * 我的账户充值商品列表http://192.168.0.88/?svc=pay&cmd=get_goods_list
     */
    public final static String API_ACCOUNT_GOODS=SERVER+"?svc=pay&cmd=get_goods_list";

    /**
     * 获取支付订单信息http://192.168.0.88/?svc=pay&cmd=send
     */
    public final static String API_GET_PAY_ORDER=SERVER+"?svc=pay&cmd=send";

    /**
     * 房间扣费接口http://kkylive30.kukuyu.cn/?svc=gift&cmd=send_ticket&liveid=121
     */
    public final static String API_PAY_ROOM_BY_PERIOD=SERVER+"?svc=gift&cmd=send_ticket";
    /**
     * 获取微信订单信息
     * http://192.168.0.88/?svc=wechat_pay&cmd=send
     */
    public final static String API_GET_WX_ORDER=SERVER+"?svc=wechat_pay&cmd=send";
    /**
     * 退出登录接口http://192.168.0.88/?svc=account&cmd=logout
     */
    public final static String API_LOGIN_OUT=SERVER+"?svc=account&cmd=logout";

    /**
     * 绑定手机号http://192.168.0.88/?svc=account&cmd=bindphone
     */
    public final static String API_BIND_PHONE=SERVER+"?svc=account&cmd=bindphone";
    /**
     * 弹幕发送验证http://192.168.0.88/?svc=gift&cmd=send_fly_word
     */
    public final static String API_SEND_FLY_WORD=SERVER+"?svc=gift&cmd=send_fly_word";


    /**
     * 首页关注直播列表http://192.168.0.88/?svc=list&cmd=follow
     */
    public final static String API_HOME_ATTENTION_LIST=SERVER+"?svc=list&cmd=follow";

    /**
     * 首页关注回放数据列表http://kkylive30.kukuyu.cn/?svc=list&cmd=follow_video
     */
    public final static String API_HOME_FOLLOW_HISTORY_LIST=SERVER+"?svc=list&cmd=follow_video";

    /**
     * 回放数据列表http://kkylive30.kukuyu.cn/?svc=user&cmd=get_video_list
     */
    public final static String API_USER_HISTORY_LIST=SERVER+"?svc=user&cmd=get_video_list";

    /**
     * 首页热门直播列表http://192.168.0.88/?svc=list&cmd=hot
     */
    public final static String API_HOME_HOT_LIST=SERVER+"?svc=list&cmd=hot";

    /**
     * 首页最新直播列表http://192.168.0.88/?svc=list&cmd=new
     */
    public final static String API_HOME_LATEST_LIST=SERVER+"?svc=list&cmd=new";

    /**
     * 获取热门页广告轮播图片列表http://192.168.0.88/?svc=list&cmd=slide
     */
    public final static String API_HOME_BANNER_LIST=SERVER+"?svc=list&cmd=slide";

    /***
     * 获取私信会话列表http://192.168.0.88/?svc=user&cmd=get_info_by_ids
     */
    public final static String API_GET_C2C_INFO=SERVER+"?svc=user&cmd=get_info_by_ids";

    /***
     * 拉黑http://192.168.0.88/?svc=user&cmd=add_block
     */
    public final static String API_ADD_BLOCK_BY_UID=SERVER+"?svc=user&cmd=add_block";

    /***
     * 取消拉黑http://192.168.0.88/?svc=user&cmd=cancel_block
     */
    public final static String API_ADD_CANCEL_BLOCK_BY_UID=SERVER+"?svc=user&cmd=cancel_block";

    /***
     * 获取黑名单列表http://192.168.0.88/?svc=user&cmd=block_info
     */
    public final static String API_GET_BLOCK_LIST=SERVER+"?svc=user&cmd=block_info";

    /***
     * 反馈http://192.168.0.88/?svc=user&cmd=feedback msg
     */
    public final static String API_USER_FEED_BACK=SERVER+"?svc=user&cmd=feedback";

    /***
     * 获取互粉(状态为互相关注)列表数据http://192.168.0.88/?svc=user&cmd=both_follow
     */
    public final static String API_GET_SPECIAL_FRIENDS=SERVER+"?svc=user&cmd=both_follow";
    /**
     * 请求机器人
     * http://kkylive30.kukuyu.cn/?svc=robot&cmd=get_all
     */
    public final static String API_GET_ROBOT_LIST=SERVER+"?svc=robot&cmd=get_all";

}
